package com.mingqijia.gassafety.webserver.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

/**
 * @program: gassafety
 * @description:
 * @author: Mr.Wang
 * @create: 2023-02-14 17:04
 **/

@Data
@ApiModel(value = "操作日志列表入参")
public class OperationLogRequest {

    @ApiModelProperty(value = "操作人名称&编码")
    private String operationPerson;

    @ApiModelProperty(value = "操作类型")
    private String operationType;

    @ApiModelProperty(value = "操作时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAtStart;

    @ApiModelProperty(value = "操作时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAtEnd;

    private Integer page = 1;
    private Integer pageSize = 10;
}
